123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 :
- * 설 명 : 조회 조건에 상태 구분이 있는데 nu에 검사중, 결과 및 기타 컬럼이 없어서 hist라는 테이블을 만들어서 join함.
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>[자동판정]판정리스트</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <judgpatlst>
- <item>
- <sel/>
- <statflag/>
- <hopedd/>
- <hngnm/>
- <pid/>
- <sex/>
- <age/>
- <pkgnm/>
- <addtestnm/>
- <cmpynm/>
- <ajcreatdd/>
- <ajcreatidnm/>
- <judgdrid/>
- <judgdd/>
- <judgwaittermdd/>
- <rsltcnstdrid/>
- <rsltcnstrsrvdd/>
- <rsltcnstflag/>
- <diagnm/>
- <sickcd/>
- <cnstcnts/>
- <prnttims/>
- <prntrid/>
- <userid/>
- <rsrvdd/>
- <rsrvno/>
- <instcd/>
- <inqrrptidnm/>
- <inqrrptid/>
- <no/>
- <orddd/>
- <pkgcd/>
- <cretno/>
- </item>
- </judgpatlst>
- <tmp>
- <sel/>
- </tmp>
- </main>
- <send_05100>
- <srchdrid/>
- <srchfromdd/>
- <srchtodd/>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchrtimeyn/>
- <srchrsltendyn/>
- <srchjudgstatflag/>
- <srchrsltcnststatflag/>
- <srchstatflag/>
- <srchcmpyyn/>
- <srchinstcd/>
- <reqdata>
- <judgpatlst/>
- </reqdata>
- <srchpid/>
- <srchhngnm/>
- <srchscreen/>
- <srchpid/>
- <srchhealexamplacecd/>
- <dataconfirm/>
- </send_05100>
- <init>
- <baseinfo>
- <statlst/>
- <hedetlflaglst/>
- <drlst>
- <itemdr/>
- </drlst>
- <rsltcnstflaglst/>
- <healexamplacelst/>
- </baseinfo>
- <A0010list>
- <A0010>
- <cdnm/>
- <cdid/>
- </A0010>
- </A0010list>
- </init>
- <datachk>
- <datalist/>
- </datachk>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fDefaultSubmit();
- fDefaultSet(); //기본 데이터를 셋팅한다.
- // fDefaultSubmit2();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05100" replace="instance" resultref="/root/init/baseinfo/drlst"/>
- <submission id="TRAHB05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05100" resultref="/root/main/judgpatlst"/>
- <submission id="TXAHB05102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05100/reqdata/judgpatlst" resultref="/root/main/judgpatlst/item"/>
- <submission id="TRAHB05103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/datachk/datalist" resultref="/root/datachk/datalist"/>
- <submission id="TRAHA00001"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fDefaultSubmit() {
- model.makeValue("/root/send_05100/srchhealexamflag" , 'C');
- model.makeValue("/root/send_05100/srchcond", "J");
- submit("TRAHB01504");
-
- addComboItem( "cmb_drid" , "전체", "");
-
-
-
- zbcfGetCodeList( new Array("A0069","A0107", "A0123")
- , new Array( "/root/init/baseinfo/hedetlflaglst" //건진구분
- , "/root/init/baseinfo/statlst" //상태
- , "/root/init/baseinfo/rsltcnstflaglst" )//상담방법
- );
- submit("TRZBC00101");
-
- healGetCodeList( new Array("S600","S600")
- , new Array("/root/init/baseinfo/healexamplacelst"
- ,"/root/init/baseinfo/healexamplacecd") );
-
- addComboItem( "cmb_srchhealexamdetlflag" , "개인+기업", "C01 C03");
- }
-
-
- function fDefaultSet() {
-
- //유저에 따라 판정의셋팅
- var sUserInfosS = getUserInfos();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
- var cnt_userid = UserInfosS_Array[0]; //사용자번호
- var drnm = model.getValue("/root/init/baseinfo/drlst/itemdr[drid = '" + cnt_userid +"']/drnm");
- if(drnm != ""){
- // 의사이면 한달
- model.setValue("/root/send_05100/srchdrid",cnt_userid); //의사 아이디 셋팅
- model.setValue("/root/send_05100/srchfromdd",(getCurrentDate().toDate().getAddDate(-1, 'M')).getDateFormat("YYYYMMDD")); //한달전으로 셋팅
- model.setValue("/root/send_05100/srchtodd",getCurrentDate()); //금일로 셋팅
-
- //건진조회기본값 셋팅
- model.setValue("/root/send_05100/srchrtimeyn",'Y'); //검사중
- model.setValue("/root/send_05100/srchrsltendyn",'Y'); //결과입력중
- model.setValue("/root/send_05100/srchstatflag",'H'); //판정대기
- }else{
- // 의사가 아니면 한달
- model.setValue("/root/send_05100/srchfromdd",getCurrentDate()); //금일로 셋팅
- model.setValue("/root/send_05100/srchtodd",getCurrentDate()); //금일로 셋팅
- model.setValue("/root/send_05100/srchdrid",""); //의사 아이디 셋팅 료
-
- //건진조회기본값 셋팅
- model.setValue("/root/send_05100/srchrtimeyn",'Y'); //검사중
- model.setValue("/root/send_05100/srchrsltendyn",'Y'); //결과
- model.setValue("/root/send_05100/srchstatflag",'H'); //판정대기
- model.setValue("/root/send_05100/srchjudgstatflag",'N Y'); //판정중, 판정완료
-
- }
-
- //건진종류셋팅
- model.setValue("/root/send_05100/srchinstcd",UserInfosS_Array[6]);
- model.setValue("/root/send_05100/srchhealexamflag",'C');
- model.setValue("/root/send_05100/srchhealexamdetlflag",'C01 C03');
-
- fGetJudgPatList();
- model.refresh();
- }
-
- function fGetJudgPatList(){
- submit("TRAHB05101",false);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,759;1,1188;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:230px; height:13px; ">[자동판정]판정 리스트</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group4" style="left:0px; top:5px; width:1179px; height:90px; vertical-align:top; ">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1178px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption10" class="search_name" style="left:215px; top:10px; width:86px; height:17px; ">건진일자 :</caption>
- <caption id="caption34" class="search_name" style="left:11px; top:10px; width:89px; height:17px; ">건진종류 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1113px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgPatList();
- grd_judgpatlst.clearStatus();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:1101px; y1:10px; x2:1101px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send_05100/srchhealexamdetlflag" class="combo_s_essential" appearance="minimal" style="left:101px; top:10px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0069">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_srchfromdd" ref="/root/send_05100/srchfromdd" class="input_s_essential" inputtype="date" style="left:304px; top:10px; width:96px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send_05100/srchtodd" class="input_s_essential" inputtype="date" style="left:424px; top:10px; width:96px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetJudgPatList();
- ]]>
- </script>
- </input>
- <input id="ipt_pnm" ref="/root/send_05100/srchhngnm" class="input_default" visibility="hidden" style="left:860px; top:10px; width:69px; height:19px; "/>
- <input id="ipt_pid" ref="/root/send_05100/srchpid" class="input_default" style="left:755px; top:10px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == '13'){
- model.setValue("/root/send_05100/srchpid",ipt_pid.currentText);
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption36" class="search_name" style="left:665px; top:10px; width:89px; height:17px; ">등록번호 :</caption>
- <caption id="caption37" class="search_no_b" style="left:404px; top:11px; width:12px; height:17px; ">~</caption>
- <button id="btn_srchpat" class="icon_search" visibility="hidden" style="left:840px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pid", ipt_pid.currentText , "N", "/root/send_05100/" ,ipt_pid.attribute("ref"), ipt_pnm.attribute("ref") );
- if( model.getValue(ipt_pid.attribute("ref")) != "" ) fGetJudgPatList();
- ]]>
- </script>
- </button>
- <caption id="caption38" class="search_name" style="left:665px; top:63px; width:89px; height:17px; ">판정의 :</caption>
- <select1 id="cmb_drid" ref="/root/send_05100/srchdrid" class="combo_s_essential" appearance="minimal" style="left:755px; top:63px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetJudgPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:10px; top:35px; width:97px; height:17px; ">상태구분 :</caption>
- <caption id="caption2" class="search_name" style="left:665px; top:37px; width:89px; height:17px; ">개인/단체:</caption>
- <select1 id="cmb_srchcmpyflag" ref="/root/send_05100/srchcmpyyn" class="combo_s_essential" appearance="minimal" style="left:755px; top:37px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>개인</label>
- <value>N</value>
- </item>
- <item>
- <label>단체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetJudgPatList();
- model.refresh();
- ]]>
- </script>
- </select1>
- <select id="checkbox2" ref="/root/send_05100/srchrsltendyn" overflow="visible" appearance="full" style="left:165px; top:60px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>결과</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/send_05100/srchjudgstatflag" overflow="visible" appearance="full" style="left:300px; top:60px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>판정중</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/send_05100/srchrsltcnststatflag" overflow="visible" appearance="full" style="left:560px; top:60px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>결과상담완료</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox5" ref="/root/send_05100/srchjudgstatflag" overflow="visible" appearance="full" style="left:455px; top:60px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>판정완료(수정)</label>
- <value>S</value>
- </item>
- </choices>
- </select>
- <select id="checkbox6" ref="/root/send_05100/srchrtimeyn" overflow="visible" appearance="full" style="left:100px; top:60px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>검사중</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox7" ref="/root/send_05100/srchstatflag" overflow="visible" appearance="full" style="left:100px; top:35px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>가예약</label>
- <value>A</value>
- </item>
- </choices>
- </select>
- <select id="checkbox8" ref="/root/send_05100/srchstatflag" overflow="visible" appearance="full" style="left:165px; top:35px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예약보류</label>
- <value>B</value>
- </item>
- </choices>
- </select>
- <select id="checkbox9" ref="/root/send_05100/srchstatflag" overflow="visible" appearance="full" style="left:235px; top:35px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예약</label>
- <value>C</value>
- </item>
- </choices>
- </select>
- <select id="checkbox10" ref="/root/send_05100/srchstatflag" overflow="visible" appearance="full" style="left:300px; top:35px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예약취소</label>
- <value>D</value>
- </item>
- </choices>
- </select>
- <select id="checkbox11" ref="/root/send_05100/srchstatflag" overflow="visible" appearance="full" style="left:235px; top:60px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>판정대기</label>
- <value>H</value>
- </item>
- </choices>
- </select>
- <select id="checkbox12" ref="/root/send_05100/srchstatflag" overflow="visible" appearance="full" style="left:380px; top:35px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>접수</label>
- <value>E</value>
- </item>
- </choices>
- </select>
- <select id="checkbox13" ref="/root/send_05100/srchstatflag" overflow="visible" appearance="full" style="left:455px; top:35px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>접수취소</label>
- <value>F</value>
- </item>
- </choices>
- </select>
- <select id="checkbox1" ref="/root/send_05100/srchjudgstatflag" overflow="visible" appearance="full" style="left:380px; top:60px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>판정완료</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="combo1" ref="/root/send_05100/srchhealexamplacecd" appearance="minimal" style="left:885px; top:37px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:815px; top:37px; width:60px; height:17px; ">장소 :</caption>
- <caption id="caption4" class="search_name" style="left:875px; top:63px; width:114px; height:17px; ">데이터검증 :</caption>
- <select1 id="combo2" ref="/root/send_05100/dataconfirm" class="combo_s_essential" appearance="minimal" style="left:975px; top:63px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>데이터검진완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>데이터검진오류</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_judgpatlst" nodeset="/root/main/judgpatlst/item" caption="선택^상태^검진일^성명^등록번호^플래그^성별^나이^패키지명^추가검사^개인/단체^자동판정일^자동판정요청자^판정의^판정일^판정대기일^상담의^상담일시^상담방법^진단명^질환설명서 코드^추천검진^출력횟수^최종출력자^userid^rsrvdd^rsrvno^instcd^문진지종류^no^문진지코드^외래진료일" colsep="^" colwidth="71, 63, 80, 104, 85, 34, 34, 100, 100, 100, 100, 94, 81, 64, 89, 76, 79, 72, 151, 98, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:3px; top:123px; width:1175px; height:611px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <item>
- <label>가예약</label>
- <value>A</value>
- </item>
- <item>
- <label>예약보류</label>
- <value>B</value>
- </item>
- <item>
- <label>예약</label>
- <value>D</value>
- </item>
- <item>
- <label>접수</label>
- <value>E</value>
- </item>
- <item>
- <label>검사중</label>
- <value>J</value>
- </item>
- <item>
- <label>결과</label>
- <value>G</value>
- </item>
- <item>
- <label>판정대기</label>
- <value>H</value>
- </item>
- <item>
- <label>판정중</label>
- <value>K</value>
- </item>
- <item>
- <label>판정완료</label>
- <value>I</value>
- </item>
- <item>
- <label>결과상담완료</label>
- <value>L</value>
- </item>
- <item>
- <label>판정완료(수정)</label>
- <value>M</value>
- </item>
- </choices>
- </col>
- <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="pkgnm"/>
- <col ref="addtestnm"/>
- <col ref="cmpynm"/>
- <col ref="ajcreatdd" format="yyyy-mm-dd hh:nn"/>
- <col ref="ajcreatidnm"/>
- <col disabled="false" ref="judgdrid"/>
- <col ref="judgdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="judgwaittermdd"/>
- <col disabled="false" ref="rsltcnstdrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsltcnstrsrvdd"/>
- <col editmode="search" ref="rsltcnstflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/A0123">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diagnm"/>
- <col ref="sickcd"/>
- <col ref="cnstcnts"/>
- <col ref="prnttims"/>
- <col ref="prntrid"/>
- <col ref="userid" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="inqrrptidnm"/>
- <col ref="inqrrptid" visibility="hidden"/>
- <col ref="no" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var childCnt = window.children.length;
- for( var i = childCnt; i > 0; i-- ) {
- var child = window.children.item(i-1);
- if (window.children.item(i-1).window.type != "modal") {
- window.children.item(i-1).close();
- }
- }
-
- open("SMAHB05300", "2", "", "", "SMAHB05300", grd_judgpatlst.attribute("nodeset") + "[" + grd_judgpatlst.row + "]", "/root/temp" ) ;
- //modal("SMAHB05400", "", "", "", "popup", grd_judgpatlst.attribute("nodeset") + "[" + grd_judgpatlst.row + "]", "/root/temp" );
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_judgpatlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:104px; width:151px; height:13px; ">판정 리스트</caption>
- <line id="line6" class="line_1" style="x1:4px; y1:118px; x2:1179px; y2:118px; "/>
- <button id="button2" class="btn5_letter2" disabled="false" visibility="hidden" style="left:1136px; top:99px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_judgpatlst.valueMatrix(grd_judgpatlst.row, grd_judgpatlst.colRef("healexamflag")) = cmb_srchhealexamdetlflag.value;
- model.setValue("/root/send/judgpatlst", grd_judgpatlst.getUpdateData());
- submit("TXAHB05101");
- fGetJudgPatList();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter4" disabled="false" style="left:1071px; top:99px; width:64px; height:19px; ">
- <caption>자동판정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("판정확정이 안된 환자는 기존 판정 데이터는 삭제 됩니다. 자동판정 하시겠습니까?", "Q999") != 6) return false;
-
- // grd_judgpatlst.valueMatrix(grd_judgpatlst.row, grd_judgpatlst.colRef("healexamflag")) = cmb_srchhealexamdetlflag.value;
- model.setValue("/root/send_05100/reqdata/judgpatlst", grd_judgpatlst.getUpdateData());
- submit("TXAHB05102");
- fGetJudgPatList();
- grd_judgpatlst.clearStatus();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" disabled="false" style="left:930px; top:99px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_judgpatlst.saveExcel(file);
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" disabled="false" style="left:887px; top:99px; width:42px; height:19px; ">
- <caption>문진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_judgpatlst.row > 0 ){
- //open("SPAHB04900", "1", "", "", "popup", grd_judgpatlst.attribute("nodeset") + "[" + grd_judgpatlst.row + "]" , "root/temp");
-
- var sValue =
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/instcd") + "▦" +
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/healexamflag") + "▦" +
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/healexamdetlflag") + "▦" +
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/hopedd") + "▦" +
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/rsrvdd") + "▦" +
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/rsrvno") + "▦" +
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/pid") + "▦" +
- model.getValue("/root/main/judgpatlst/item[" + grd_judgpatlst.row + "]/inqrrptid") + "▦" +
- 'Y' //저장버튼 비활성화
- ;
-
- setParameter("SMAHB04900_PARM",sValue);
- modal("SMAHB04900", "1","50", "50", "SMAHB04900", "", "", ""); //sysmenu:hidden
-
- }else{
- messageBox("환자를 선택하시고 문진 버튼을 누르세요","I999");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter8" disabled="false" visibility="hidden" style="left:777px; top:99px; width:108px; height:19px; ">
- <caption>판정지 일괄 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- var nodeList = instance1.selectNodes(grd_judgpatlst.nodeset + "[sel='Y']");
- var rtn = messageBox("총 " + nodeList.length + "명을 선택하였습니다. 확인을 선택하시면 판정지를 연속으로 출력합니다. 판정지 미리보기를 하시려면 취소를 선택하시고 리스트를 각각 조회 하십시오. 판정지는 설정 언어로 출력됩니다.", "Q001");
- if(rtn == "7" ){
- return false;
- }else{
- for( var i = 0 ; i < nodeList.length ; i++){
- model.setValue("/root/send/srchhealexamflag", nodeList.item(i).healexamflag.text ); //건진구분
- model.setValue("/root/send/srchhealexamdetlflag", nodeList.item(i).healexamdetlflag.text ); //건진상세구분
- model.setValue("/root/send/srchrsrvdd", nodeList.item(i).rsrvdd.text ); //예약등록일자
- model.setValue("/root/send/srchrsrvno", nodeList.item(i).rsrvno.text ); //예약등록번호
- model.setValue("/root/send/srchpid", nodeList.item(i).pid.text ); //등록번호
- model.setValue("/root/send/srchorddd", nodeList.item(i).orddd.text ); //건진일자
- model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd") ); //기관코드
- model.setValue("/root/send/srchlangflag", language ); //언어구분: 한글버전
- model.removeNodeset("/root/temp/colgprntinfo");
- //그리드에 뿌려주기
- ret = submit("TRAHR00902");
-
- if( (ret == true ) && (instance1.selectNodes("/root/temp/colgprntinfo/itemrslt") != null ) ) {
- //결과출력
- model.makeNode("/root/temp/colgprntinfo/iteminfo/pid");
- model.makeNode("/root/temp/colgprntinfo/iteminfo/pnm");
- model.makeNode("/root/temp/colgprntinfo/iteminfo/sexage");
- model.makeNode("/root/temp/colgprntinfo/iteminfo/orddd");
- model.makeNode("/root/temp/colgprntinfo/iteminfo/hopedd");
- model.makeNode("/root/temp/colgprntinfo/iteminfo/brthdd");
- model.makeNode("/root/temp/colgprntinfo/iteminfo/rrgstno")
- model.makeNode("/root/temp/colgprntinfo/itemjudg/judgdrnm")
- model.makeNode("/root/temp/colgprntinfo/itemjudg/nexthealexamdd")
-
- var nexthealexamdd = nodeList.item(i).hopedd.text;
- nexthealexamdd = nexthealexamdd.toDate().getAddDate(1,"Y").getDateFormat("YYYYMMDD") ;
-
- //alert("pid : " + nodeList.item(i).pid.text);
- model.setValue("/root/temp/colgprntinfo/iteminfo/healexamflag", nodeList.item(i).healexamflag.text ); //건진구분
- model.setValue("/root/temp/colgprntinfo/iteminfo/pid", nodeList.item(i).pid.text );
- model.setValue("/root/temp/colgprntinfo/iteminfo/pnm", nodeList.item(i).hngnm.text );
- model.setValue("/root/temp/colgprntinfo/iteminfo/sexage", nodeList.item(i).sexage.text );
- model.setValue("/root/temp/colgprntinfo/iteminfo/orddd", nodeList.item(i).orddd.text );
- model.setValue("/root/temp/colgprntinfo/iteminfo/hopedd", nodeList.item(i).hopedd.text );
- model.setValue("/root/temp/colgprntinfo/iteminfo/brthdd", nodeList.item(i).brthdd.text );
- model.setValue("/root/temp/colgprntinfo/iteminfo/rrgstno", nodeList.item(i).rgstno.text );
- //model.setValue("/root/temp/colgprntinfo/itemjudg/judgdrnm", nodeList.item(i).judgdrnm.text);
- model.setValue("/root/temp/colgprntinfo/itemjudg/nexthealexamdd", nexthealexamdd);
-
- var bDirectPrnt = "true";
- if( chk_preview.value == "Y" ){
- bDirectPrnt = "false";
- }
- var vPrntFg = cmb_prntflag.value ;
- model.removeNodeset("/root/send/updata/req/item");
-
- if( vPrntFg != "paper" ) {
- if(language == "H") {
- exeReportPreview("RPAHR00901", "XMLSTR" , "" , "" , true /*출력여부*/ , "" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text /*파일명*/ , "", false );
- }else {
- exeReportPreview("RPAHR00905", "XMLSTR" , "" , "" , true /*출력여부*/ , "" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text /*파일명*/ , "", false );
- }
-
- } else {
- if (bDirectPrnt == "false") { //미리보기
- if(language == "H") {
- exeReportPreview("RPAHR00901", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }else {
- exeReportPreview("RPAHR00905", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }
-
- } else {
- if(language == "H") {
- exeReportPreview("RPAHR00901", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
- }else {
- exeReportPreview("RPAHR00905", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
- }
- }
- }
- }
- }
- }// if(rtn == "7" ){ end
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter5" disabled="false" style="left:995px; top:99px; width:75px; height:19px; ">
- <caption>데이터검증</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- /*
- fDataChk(grd_judgpatlst.getUpdateData());
- model.refresh();
- */
- model.makeNode("/root/datachk");
- model.makeValue("/root/datachk/datalist" , grd_judgpatlst.getUpdateData());
- //copyNodeType("/root/datachk/datalist","/root/main/judgpatlst/item","replace");
- submit("TRAHB05103",false);
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select id="checkbox14" ref="/root/main/tmp/sel" overflow="visible" appearance="full" style="left:25px; top:125px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- for(var i = 1 ; i < grd_judgpatlst.rows ; i++){
- model.setValue("/root/main/judgpatlst/item['" + i + "']/sel" , 'Y');
- grd_judgpatlst.rowstatus(i) = 2;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- for(var i = 1 ; i < grd_judgpatlst.rows ; i++){
- model.setValue("/root/main/judgpatlst/item['" + i + "']/sel" , 'N');
- }
- grd_judgpatlst.clearStatus();
- ]]>
- </script>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|